package com.triadsystems.cashweb.modelo.testes;

import org.apache.commons.lang3.StringUtils;

public class TesteCabecalhoADA {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringBuilder header = new StringBuilder();
		
		header.append("A2");
		header.append(StringUtils.rightPad("477", 20, ""));
		header.append(String.format("%20s", "AGUAS DO AMAZONAS SA"));
		header.append(StringUtils.rightPad("477", 3, ""));
		header.append(StringUtils.rightPad("CAIXA ADA", 20, ""));
		header.append("20121018");
		header.append(String.format("%06d", 682));
		header.append("02");
		header.append(String.format("%69s", ""));
		
		System.out.println(header.toString());

	}

}
